package com.xd.cloud.entity.device;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.xd.cloud.entity.BaseEntity;

/**   
 * 功能描述：设备信息表
 * @author: wangshanshan   
 * @date: 2017年12月11日 上午10:02:31 
 */
@Entity
@Table(name = "tb_device")
public class Device extends BaseEntity{

	// @Fields serialVersionUID : TODO
	private static final long serialVersionUID = -6290098478354873164L;
	
	private String device_id; //设备编号,唯一标识
	private int company_id;    //公司id
	private String serial_id; //设备序列号
	private int factory_type; //厂家类型,0为其他,1bsj
	private int device_type;  //设备类型,0为其他,1部标机,2北斗终端,3视频终端
	private String brand;     //产品品牌
	private String model;     //设备型号
	private String software_ver;  //软件版本
	private String hardware_ver;  //硬件版本
	private String product_manufacturer;  //产品厂家
	private Integer protocol;        //通信协议类型
	private Integer disk_type;        //硬盘类型,1 SD,2 硬盘,3 SSD
	private Integer audio_type;       //音频类型，双向对讲用
	private int install;         //安装情况   0未安装  1已安装
	private Date install_time;    //安装日期
	private String remark;       //备注
	private Date create_time;     //创建时间
	private Date update_time;     //修改时间
	private int status;          //使用情况   0未启用  1已启用
	
	public String getDevice_id() {
		return device_id;
	}
	public void setDevice_id(String device_id) {
		this.device_id = device_id;
	}
	public int getCompany_id() {
		return company_id;
	}
	public void setCompany_id(int company_id) {
		this.company_id = company_id;
	}
	public String getSerial_id() {
		return serial_id;
	}
	public void setSerial_id(String serial_id) {
		this.serial_id = serial_id;
	}
	public int getFactory_type() {
		return factory_type;
	}
	public void setFactory_type(int factory_type) {
		this.factory_type = factory_type;
	}
	public int getDevice_type() {
		return device_type;
	}
	public void setDevice_type(int device_type) {
		this.device_type = device_type;
	}
	public String getBrand() {
		return brand;
	}
	public void setBrand(String brand) {
		this.brand = brand;
	}
	public String getModel() {
		return model;
	}
	public void setModel(String model) {
		this.model = model;
	}
	public String getSoftware_ver() {
		return software_ver;
	}
	public void setSoftware_ver(String software_ver) {
		this.software_ver = software_ver;
	}
	public String getHardware_ver() {
		return hardware_ver;
	}
	public void setHardware_ver(String hardware_ver) {
		this.hardware_ver = hardware_ver;
	}
	public String getProduct_manufacturer() {
		return product_manufacturer;
	}
	public void setProduct_manufacturer(String product_manufacturer) {
		this.product_manufacturer = product_manufacturer;
	}
	public Integer getProtocol() {
		return protocol;
	}
	public void setProtocol(Integer protocol) {
		this.protocol = protocol;
	}
	public Integer getDisk_type() {
		return disk_type;
	}
	public void setDisk_type(Integer disk_type) {
		this.disk_type = disk_type;
	}
	public Integer getAudio_type() {
		return audio_type;
	}
	public void setAudio_type(Integer audio_type) {
		this.audio_type = audio_type;
	}
	public int getInstall() {
		return install;
	}
	public void setInstall(int install) {
		this.install = install;
	}
	public Date getInstall_time() {
		return install_time;
	}
	public void setInstall_time(Date install_time) {
		this.install_time = install_time;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Date getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}
	public Date getUpdate_time() {
		return update_time;
	}
	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
}
